package cn.wancat.pattern.behavioral.observer;

public class ConcreteSubject extends Subject{
    @Override
    public void noticeObserver() {
        System.out.println(">>>>>> 目标发送改变>>>>");
        System.out.println("..............通知观察者");
        for (Observer b :observers) {
            b.response();
        }
    }
}
